
<center>
	<h2>
		
    	{if $mode == 'list'} 
   			荷主マスタ  一覧
   		{else}
   			荷主マスタ  エラーリスト
   		{/if}	
	</h2>
		{$cnt = count($arrShippers)}
	    {$i = 0}
	{if ($arrShippers)}	
		{foreach $arrShippers as $item}
			{if ($i % $smarty.const.RPT_SHIPPER_MAX_REC == 0 && $i != 0)}	
				            </table>
	    			</div>	
	    	{/if}			
			{if ($i % $smarty.const.RPT_SHIPPER_MAX_REC == 0)}
					 {if $i != 0}
		    			<div id='page_break'>&nbsp;&nbsp;</div>
		    		{/if}
			    <div id='shipper_content' style="width:800px">
			            <table id='tblShipper' cellspacing='0' cellpadding='0' border='0' width='100%'>
			            	<tr>
					                    <th>荷主コード</th>
					                    <th>荷主名</th>
					                    <th>保管料単価 </th>
					                    <th>入出庫単価</th>
					        </tr>
			{/if}	        		    		
	                    <tr>
	                        <td align='left'>
	                        	{$item['ShipperModel']['shipper_cd']}
	                        </td>
	                        <td align='left'>
	                         	{$item['ShipperModel']['shipper_name']}
	                        </td>
	                        <td align='left'>
	                         	{$item['ShipperModel']['store_unit_price']}
	                        </td>
	                        <td align='left'>
	                         	{$item['ShipperModel']['im_ex_unit_price']}
	                        </td>
	                    </tr>
	                   {if $i== $cnt - 1} 
		                   	</table>
		    			</div>	
	                   {/if}
	                    {$i = $i + 1}
	                    
	                {/foreach}
    {else}
        	データーが有りません。
    {/if}	    
</center>